<template>
  <fm-generate-form :data="data" ref="generateForm" />
</template>

<script>
export default {
  props: {
    data: {
      type: Object,
      required: true
    }
  },
  methods: {
    getData() {
      return this.$refs.generateForm.getData()
    },
    reset() {
      this.$refs.generateForm.reset()
    }
  }
}
</script>
